package com.easondongh.blog.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author EasonDongH
 * @date 2020/3/31 16:16
 */
@Data
@Component
@ConfigurationProperties(prefix = "upload")
public class UploadConfig {
    private String baseUrl;
    private List<String> allowTypes;
}
